import Vue from 'vue'
import Router from 'vue-router'
import Goods from '@/components/goods/Goods'
import Me from '@/components/Me/Me'
import Order from '@/components/Me/Order/Order'
import Welfare from '@/components/Me/Welfare/Welfare'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Goods',
      component: Goods
    },
    {
      path: '/me',
      name: 'Me',
      component: Me
    },
    {
      path: '/order',
      name: 'Order',
      component: Order
    },
    {
      path: '/welfare',
      name: 'Welfare',
      component: Welfare
    }
  ]
})
